package com.ciei.dpagm.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

/**
 * @author pp
 * @date 2023/05/09
 */
@TableName(value = "common_project_slave_chip_config")
public class ProjectSlaveChipConfig {

    @TableId(type = IdType.AUTO)
    private Integer projectSlaveChipConfigId;
    private Integer chipId;
    private Integer projectId;
    private String componentId;
    private Integer driverLibraryId;
    private Integer controlModeId;
    private String controlModeName;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;
    private Integer creatorId;
    private Integer updateUserId;
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer isDelete;

    public ProjectSlaveChipConfig() {
    }

    public ProjectSlaveChipConfig(Integer projectSlaveChipConfigId, Integer chipId, Integer projectId, String componentId, Integer driverLibraryId, Integer controlModeId, String controlModeName, Date createTime, Date updateTime, Integer creatorId, Integer updateUserId, Integer isDelete) {
        this.projectSlaveChipConfigId = projectSlaveChipConfigId;
        this.chipId = chipId;
        this.projectId = projectId;
        this.componentId = componentId;
        this.driverLibraryId = driverLibraryId;
        this.controlModeId = controlModeId;
        this.controlModeName = controlModeName;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.creatorId = creatorId;
        this.updateUserId = updateUserId;
        this.isDelete = isDelete;
    }

    public Integer getProjectSlaveChipConfigId() {
        return projectSlaveChipConfigId;
    }

    public void setProjectSlaveChipConfigId(Integer projectSlaveChipConfigId) {
        this.projectSlaveChipConfigId = projectSlaveChipConfigId;
    }

    public Integer getChipId() {
        return chipId;
    }

    public void setChipId(Integer chipId) {
        this.chipId = chipId;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public String getComponentId() {
        return componentId;
    }

    public void setComponentId(String componentId) {
        this.componentId = componentId;
    }

    public Integer getDriverLibraryId() {
        return driverLibraryId;
    }

    public void setDriverLibraryId(Integer driverLibraryId) {
        this.driverLibraryId = driverLibraryId;
    }

    public Integer getControlModeId() {
        return controlModeId;
    }

    public void setControlModeId(Integer controlModeId) {
        this.controlModeId = controlModeId;
    }

    public String getControlModeName() {
        return controlModeName;
    }

    public void setControlModeName(String controlModeName) {
        this.controlModeName = controlModeName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Integer creatorId) {
        this.creatorId = creatorId;
    }

    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
}
